{% extends "common/base.html" %}

{% block nav %}
  {% include "common/nav.html" %}
{% endblock %}

{% block main %}
        {% load el_pagination_tags %}
        {% paginate latest_article_list     %}
        {% for article in latest_article_list %}
        
            <div class="media well">
                <div class="dzlist-top">
                <div class="dz-username"><a href="/users/1/" rel="nofollow">{{ article.author }}</a>
                    <span>{{ article.update_time }}</span></div>
                </div>
                <div class="dz-list-con">
                    <a id="article_title", href=/myapp/{{ article.id }}>
                    <p style="font-weight: bold;">{{ article.title }}</p>
                    </a>
                    <p>{{ article.content|truncatechars_html:80 | safe }}</p>
                </div>
                <div class="list_tag"><i class="fa fa-tags tag-icon" aria-hidden="true"></i>
                <a rel="nofollow" href="" target="_blank">{{article.tag1}}</a>
                <a rel="nofollow" href="" target="_blank">{{article.tag2}}</a>
                <a rel="nofollow" href="" target="_blank">{{article.tag3}}</a>
                </div>
            </div>
        {% endfor %}
        {% show_pages %}
  


{% endblock %}

{% block right %}
  {% include "common/right.html" %}
{% endblock %}
